VERSION 2.5.4
==============================================================================================================================
Fixed:
- DST for RTC
- checking if user name already exists when creating new user

VERSION 2.5.3
==============================================================================================================================
Added:
- sending mail subject to RPI Network Gateway

VERSION 2.5.2
==============================================================================================================================
Added:
- Jump filtering for temp. and hum. sensors

VERSION 2.5.1
==============================================================================================================================
Fixed:
- missing brackets when saving handle hold time to EEPROM

VERSION 2.5.0
==============================================================================================================================
Added:
- Output toggling feature (in hidden sys_conf)

VERSION 2.4.0
==============================================================================================================================
Added:
- controlling handle hold time via SYS_CONF.CGI
Changed:
- handle hold time to 16-bit variable
Fixed:
- writing 0xff instead of unknown value to eeprom while doing restore_default_settings()


VERSION 2.3.0
==============================================================================================================================
Added:
- hidden system configuration accessible via http
- system reset to hard fault handler
-new rfid tag length assumption : 8,9, when reading from handle
- 500 ms timeout when socket is established, but no data is available in wizznet rx buffer
Fixed:
- "DNS address server" typo
- sending display configuration after saving outputs settings
- impropere DELETE_USR?user_id usage, with argument exeeding users table
- DNS retry counter wasn't reset after successful dns resolve. Because of that later resolves could failed
- receiving longer http request (e.g. sensor settings with all checkboxes checked).
Changed:
- not creating "mail notification sent failed" when destination address is empty, for local smtp client
- checking handle and inputs states each 100 ms (instead of each 10ms), with additional checking of previous state
- showing minus temp. from handle combo disabled for TEMP/RFID socket

VERSION 2.2.2
==============================================================================================================================
Added:
-new rfid tag length assumption : 10, when reading from handle

VERSION 2.2.1
==============================================================================================================================
Changed:
- Bug fixed: Watchdog reset when deleting e.g. last user with lots of users

VERSION 2.2.0
==============================================================================================================================
Added:
- New reader type selection: apra unique, mifare, hid and new ones: emka agent-e, wiegand 26/32/34/37 bit.
- Unification for card numbers length ( now always use 15 -digit)
- bounds for http post sensor 1 and 2 thresholds

VERSION 2.1.3
==============================================================================================================================
Changed :
- Added assuming additional tag length (=7) for CRC from Handle RFID readers

VERSION 2.1.2
==============================================================================================================================
Changed :
- checking CRC for RFID readers from handles. Now assuming 3 different tag length

VERSION 2.1.1
==============================================================================================================================
Changed :
- fixed sensors alarm switching threshold

VERSION 2.1.0
==============================================================================================================================
Added :
- 2 Factor authorization feature - required Rack Display in FW version 5.0 or newer to operate !
	enable checkbox on main_settings.html page
	2FA variable to main_settings.cgi JSON data set
	sending 2fa status with main display status
	sending info for display when card has been used before entering PIN code
- new SNMP TRAPs definitions : separate outputSwitch ON/OFF, separare inputsAlarmON/OFF & sensorsAlarmON/OFF

Changed :
- maximum allowed sensors count :
	for standard EMI-One version : 2 temperature, 2 combo (Hi Acc.), 1 pressure; 2 sensors allowed in total
	for EMI-One CC version : 4 temperature, 4 combo (Hi Acc.), 2 pressure = 8 sensors allowed in total
- modified SNMP GET data structure according to new allowed sensors configuration
- SNMP variables according to new allowed sensors configuration - new MIB file (version 6)
- data validity check on system startup (load form EEPROM) for variables (flags) added in FW 1.9.0, 2.0.0 and 2.1.0


VERSION 2.0.0
==============================================================================================================================
Added :
- checking CRC for 1-wire communication with Handle RFID reader
- on status page input color of the corresponding cell in the first column of the table turns red when alarm is active
- entry in eeprom (log section) after alarm event from sensor and input also ends
- parsing of new event detail on log html page
- send e-mail notification also when alarm form the input or sensor ends
- new field on outputs settings page with option to set custom hold ON time for each output separately within range from 0-99 minutes
- ID tag for JSON data set with log entries
- logout button on index page, top main menu list
- for EMI-Scale - button with hyperlink to scale_status page
- separate apra logo with different labels (lettering) for each FW release : standard, CC & Scales
- HiAcc Combo sensor support for COMB port on EMI-One controller
- Protection for connecting more than maximum allowed number of sensors (of certain type)

Changed :
- label on settings webpage, SYSTEM INFORMATION field
- alarm events are displayed on log table (log.html page) without user names ('---' instead)
- fixed buzzer ON/OFF switching regarding alarm flag setting (inputs & sensors)


VERSION 1.9.0
==============================================================================================================================
Added :
- detailed message topic enable checkbox
- custom prefix enable checkbox + content field
- GPS coordinates fields under settings -> main html form
- GPS variables in main_settings JSON response
- new variables string content check on startup for compatibility with old (non-formatted) EEPROM from prev. firmware releases
- new variables in JSON data set
- GPS variables into SNMP GET data set
- advanced e-mail notification message subject & content generation accoring to Settings -> Notifications configuration

Changed :
- check if destination e-mail entry exist before attempting to send message
- SMTP buffers size

VERSION 1.8.4
==============================================================================================================================
Fixed bug in Outputs switching from Input settings

VERSION 1.8.3
==============================================================================================================================
Fixed outputs automatic switching delay accoring to "Time" variable on I/O settings page - now not only "alarm" trigger is affected but also O1-O4 switch

VERSION 1.8.2_S
==============================================================================================================================
Added :
- Scale devices automatic search function
- buttons on scale_status.html

VERSION 1.8.1
==============================================================================================================================
Changed :
- behaviour of Outputs switchinng OFF on "Door Handle" setting when triggered by Input or Sensor event

VERSION 1.8.0
==============================================================================================================================
Added :
- Bosch BMP pressure sensor support
- pressure results visible on status page, available via JSON and SNMP
- added RS485 registers for (2 sensors) & display data push

Changed :
- increased maximum users count to 50 entries
- improved 1wire bus behaviour on system startup

VERSION 1.7.4 SCALE
==============================================================================================================================
Changed :
- updated STM32 drivers
- scale data registers behaviour while loading data - old value is kept untill 5 faulty retery connection attempts are made

Added :
- MQTT protocol library
- 1ms Timer


VERSION 1.7.3 SCALE
==============================================================================================================================
Changed :
- maximum allowed devices count to 50
- scale querry function to support also the RFID BoxID variable
- improved communication scheme with scale devices
- retry attemp to load each value after failed data read, 5 times
- versioning and date
- search function on scale_status.html

VERSION 1.7.2
==============================================================================================================================
Fixed prioblem with "mail server" field on Notification Settings HTML page

VERSION 1.7.1
==============================================================================================================================
Changed maximum total allowed sensor count for CC VERSION

VERSION 1.7.0
==============================================================================================================================
Added :
- additional display register and function to logout display user automatically on EMI system reboot
- added HAL_UART_ErrorCallback function for handling transmission errors and restore communication
- possibility to control 4 handles via RFID card and display
- support for "OA" display command (from Display FW 4.0)- open all "Handle" and "Handle 2" configured outputs (check also the access rights of current logged user)
Changed :
- system log is now send in reversed order : the newest event has index '0'
- RS485 registers definitions moved to common external file
- optimized 1-wire timing in scope of 4 handles & sensors connected to the same bus
- improved Daylight saving and date/time set functions

VERSION 1.6.2
==============================================================================================================================
Changed :
- fixed multiple data reads on log.html JS script
- fixed Rack Display communication stop after mail send
- fixed random communication stop/block with Rack Display


VERSION 1.6.1
==============================================================================================================================
Added :
- possibility to use SMTP server without authentication (empty user & password fields)
- possibility to use directly mail server IP address or name (with DNS lookup)

VERSION 1.6.0
==============================================================================================================================
- added full support for HiAcc Combo sensor
- updated status.html page : sensors table automatic scaling according to status.cgi JSON data (temp and comb 'count' value)
- optimized sensors_handler() function
- SNMP combo sensor variables mapping vs OID
- debug message fixes

VERSION 1.5.5
==============================================================================================================================
- Disabled #SYSTEM_DEBUG

VERSION 1.5.4
==============================================================================================================================
Fixed :
- LED control on Reader "HID/HITAG" settings
- RS485_MODBUS timeout 80->200

VERSION 1.5.3
==============================================================================================================================
Fixed :

- modified JSON sensors 
- fixed type error on log.html

VERSION 1.5.2
==============================================================================================================================
Fixed :

- improved stability of UART functions
- added handle UART registers

VERSION 1.5.1
==============================================================================================================================
- Blocked multiple reads of RFID card with the same UID also for UNIQUE tag type

VERSION 1.5.0
==============================================================================================================================
Fixed :

- problmes with socket management during webserver authentication
- blocked multiple reads of RFID card with the same UID


VERSION 1.4.9
==============================================================================================================================
Added :

- 250ms timer
- DELETE_USR.CGI request can now have usr_id (number) or user_label as key parameter

Changed :

- sensors querry each 500ms
- display querry each 250ms
- increased buffer size for json requests
- string data variables erasing method
- EEPROM data save on users configuration requests (add, edit, delete)
- html form for adding users on access_control.html now sends missing user_rem_acc_level field

VERSION 1.4.8
==============================================================================================================================
Added :

- 500ms handler for Display & 1wire communication
- send settings to Dispaly each 1 hour
- UART baud rate switching for RS485_MODBUS mode
- MODBUS.CGI and MODBUS2.CGI requests in RS485_MODBUS mode

Changed :

- 1wire timing and delays
- data save (variables) on webServer access control management page

VERSION 1.4.7
==============================================================================================================================
Fixed :

- added formatting of "name" field while adding new user
- added support of PIN field while deleting user entry

VERSION 1.4.6
==============================================================================================================================
Fixed :

- Ehernet controller L2 timeout
- socket disconnect library funcitons
- log.html page JSON loading time
- users data PIN and card number memory values

VERSION 1.4.5
==============================================================================================================================
Added :

- EMI-Lock build-in RFID reader support
- EMI-Lock build-in temperature and humidity sensor support

VERSION 1.4.4
==============================================================================================================================
Fixed :

- onewire timing

VERSION 1.4.3
==============================================================================================================================
Fixed :

- display sensors label send to RS485
- edit button on scale_status.html page
- content-length header value on authentication request response
- style.css max-age header value changed to expire in 1 day
- onewire delays

VERSION 1.4.2
==============================================================================================================================
Fixed :

- http response headers
- web server socket closing and timeout

VERSION 1.4.1
==============================================================================================================================
Fixed :

- http timing and socket closing
- log page data loading

VERSION 1.4.0
==============================================================================================================================
Added :

- new users management page
- HID Reader option in basic_settings.html
- blocked possibility to create users with same Name
- added setting to control server data push inside basic_settings.html
- added summer/winter time switch option in time settings, modified time update function
- removed old html pages and code
- GET request instead of POST on users management page
- additional SNMP Trap on alarm end
- increased maximum users count to 40

TEST VERSION 1.3.3
==============================================================================================================================

Fixed :

- Firmware upload triggering on Windows 10 and Edge browser
- moved system, SPI and I2C functions from main to core.c
- code cleanup

Added :
- scale editing functions
- scale_status.html page with edit box
- EEPROM save & restore scale data (ID's)

TEST VERSION 1.3.1
==============================================================================================================================
Fixed :

- EEPROM memory layout, to make settings reset after update unecessary
- fixed SNTP timing

TEST VERSION 1.3.0
==============================================================================================================================
Fixed :

- empty user name bug while using "Add user" in Users settings


TEST VERSION 1.2.9
==============================================================================================================================
Fixed :

- Variables binding in SNMP Trap notifications
- Full length Label of Inputs and Outputs in SNMP Trap


TEST VERSION 1.2.8
==============================================================================================================================
Changed :

Fixed :

- Display Authorization (PIN) query and receive timing

Added:

- support of CC_VERSION
- "custom" output mode - hold time 20 min, disabled automatic "off" switch after the alarm trigger is no longer present (i.e alarm)
- Temp2,Temp3,Temp4 UART Registers and status reporting functions to Display
- log entries after Output switching from Display


TEST VERSION 1.2.7
==============================================================================================================================
Added :

- MODBUS.CGI request
- log.cgi request with JSON system log entries
- lew log sub-page with table view, i/o name aliases
- sequential off-load data loading
- progress bar while loading log chunks
- search trough log table rows
- log.html file size optimization(log.min.html)
- support of both direct IP or alias NTP server address


Changed :

- removed unecessary code and old scale functions
- fixed JSON with mobus data
- disabled MODBUS data push, added JSON response for MODBUS.CGI request
- RFID card numer format in MIFARE option setting
- destination mail address fields in notification settings
- MIB file download - hidden
- mail notifications display in log page
==============================================================================================================================


TEST VERSION 1.2.5
==============================================================================================================================
Added :

- PIN field in Access Control JSON
==============================================================================================================================


TEST VERSION 1.2.4
==============================================================================================================================
Added :

- PIN field in Access Control page (+ corresponding functions and EEPROM mapping)
- support for MIFARE cards with longer UID
- card reader type selection

Changed :

- automatic default settings restore after software upload with RESET_AFTER_UPLOAD flag set
- "Message of the Day" filed renamed into "Display message box"
- hidden "External Fan Settings" table inside Main Setting page
- disabled option to change main admin ('0' index account) into user type

==============================================================================================================================